package com.ruoyi.buss.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class DataDictionary { 
	/**
	 * ID
	 */
	private String id;
    /**
     * 编码
     */
    @ApiModelProperty(value = "编码")
    private String dicCode;
    @ApiModelProperty(value = "名称")
    private String dicName;
    @ApiModelProperty(value = "上级编码")
    private String parentCode;
    @ApiModelProperty(value = "级别（0为最顶级）")
    private int dicLevel;
    @ApiModelProperty(value = "排序")
    private int dicSort;
    /**
     * 添加时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态（1有效，0无效）")
    private String status;
    private String remark;

    public String getId()
    {
        return id;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getDicCode()
    {
        return dicCode;
    }

    public void setDicCode(String dicCode)
    {
        this.dicCode = dicCode;
    }

    public String getDicName()
    {
        return dicName;
    }

    public void setDicName(String dicName)
    {
        this.dicName = dicName;
    }

    public String getParentCode()
    {
        return parentCode;
    }

    public void setParentCode(String parentCode)
    {
        this.parentCode = parentCode;
    }

    public int getDicLevel()
    {
        return dicLevel;
    }

    public void setDicLevel(int dicLevel)
    {
        this.dicLevel = dicLevel;
    }

    public int getDicSort()
    {
        return dicSort;
    }

    public void setDicSort(int dicSort)
    {
        this.dicSort = dicSort;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public Date getUpdateTime()
    {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime)
    {
        this.updateTime = updateTime;
    }

    public String getStatus()
    {
        return status;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getRemark()
    {
        return remark;
    }

    public void setRemark(String remark)
    {
        this.remark = remark;
    }
}
